﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;

namespace AzureBlob
{
    interface ICloudBlobHolder
    {
        Uri Uri { get; }
        CloudBlockBlob GetBlockBlobReference(string relUri);
        IEnumerable<IListBlobItem> ListBlobs();
        IAsyncResult BeginListBlobsSegmented(AsyncCallback callback, object state);
        ResultSegment<IListBlobItem> EndListBlobsSegmented(IAsyncResult asyncResult);
        CloudBlobDirectory GetDirectoryReference(string relativeAddress);
        IEnumerable<IListBlobItem> ListBlobs(BlobRequestOptions options);

    }
}
